
package com.insigma.business.qrcode.soldier.service;


import com.insigma.business.qrcode.soldier.dto.PlacementUnitInfoBSearcher;
import com.insigma.business.qrcode.soldier.entity.PlacementUnitInfoDO;

import java.util.List;


public interface PlacementUnitInfoService {

   
    List<PlacementUnitInfoDO> search(final PlacementUnitInfoBSearcher innerSearcher);

    
    PlacementUnitInfoDO get(final String id);

    
    Integer insert(final PlacementUnitInfoDO placementUnitInfo);

    
    Integer update(final PlacementUnitInfoDO placementUnitInfo);

    
    Integer delete(final String id, final String modifierType, final String modifierId);

 
 PlacementUnitInfoDO getOrInsertUnit(String unitName);
}
